
/**
* @file      main.c
* @author    Piyumal Ranawaka st20000427
* @version   0.1
* @date      November 15, 2014
* @brief     Overall main method of the weather monitering system
*/

/* Includes -----------------------------------------------------------------------*/


/* Private types ------------------------------------------------------------------*/
/* Private constants --------------------------------------------------------------*/
/* Private macro ------------------------------------------------------------------*/
/* Private variables --------------------------------------------------------------*/
uint16_t pressure_val;
uint16_t temperature_val;
uint16_t humidity_val;
uint16_t light_val;

/* Private function prototypes ----------------------------------------------------*/
/* Private functions --------------------------------------------------------------*/




int main()
	{
		//initial hardware configuration done only once after powered on 
		temperature_config();
		pressure_config();
		humidity_config();
		light_intensity_config();
		alarm_config();
		lcd_config();
		SIC4310_config();
		
		
		while(1){
			
			
          
    }
}




















}




static uint32_t msTick = 0;

/* Private function prototypes -----------------------------------------------*/
/* Private functions ---------------------------------------------------------*/

// SysTick handler to implement timebase features.
void SysTick_Handler()
{
	msTick++;
}